export const myMixins = {
    onLoad(){
        setTimeout(function () {
              console.log('start pulldown');
          }, 2000);

        uni.startPullDownRefresh({
            success:function(res){
                console.log(res);
            }
        }); 
    },
    onPullDownRefresh(){

        console.log('refresh');
        setTimeout(function () {
                  uni.stopPullDownRefresh(); 
        }, 2000);
    }

}